package com.hwz.common.exception;

public enum HwzlivingCodeException {
    INVALIDATE_EXCEPTION(40001, "数据校验失败"),
    UNKNOWN_EXCEPTION(40000, "系统未知异常")
    ;

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    HwzlivingCodeException(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
